Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(CLI): Support branch in pull config #STRINGS-538 #701

Merged
merged 5 commits into from
Nov 15, 2024

Conversation

jablan
Copy link
Collaborator

@jablan jablan commented Oct 18, 2024

Supports getting the branch from pull target configuration.

phrase/phrase-cli#152

@jablan jablan requested a review from theSoenke October 18, 2024 10:05
@@ -148,12 +148,12 @@ func (source *Source) CheckPreconditions() error {
return nil
}

func (sources Sources) ProjectIds() []string {
projectIds := []string{}
func (sources Sources) ProjectIdsBranches() []LocaleCacheKey {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function name confused me a bit because it returns a LocaleCacheKey. Maybe we could either rename the function or the struct name so that it's more clear what it returns?

@jablan jablan requested a review from theSoenke November 6, 2024 15:11
Copy link
Collaborator

@theSoenke theSoenke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@jablan jablan merged commit 30ae809 into master Nov 15, 2024
12 checks passed
@jablan jablan deleted the 538-pull-branch-param-support branch November 15, 2024 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants